package com;

import com.pojo.Person;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class personTest {
    @Test
    public void findPersonByIdTest(){
        SqlSession session = MyBatisUtils.getSession();
        Person person = session.selectOne("com.mapper.PersonMapper.findPersonById",1);
        System.out.println(person);
        session.close();
    }
}
